package com.test;

/**
 * @Author: zhangquan
 * @Description:
 * @Date: 2020/7/30 14:46
 * @Version: 1.0
 */
public enum SingletonEnum {

    instance;

    private SingletonEnum () {

    }

    public void whateverMethod () {
        System.out.println("枚举实现单例模式");
    }

}
